package com.shihan._02_juc_concurrent_utils._02_sync_tools.reentrantlock;

/**
 * @Description
 * @Author shihan
 * @Date 2021/8/22 10:48
 * @Version 1.0
 */
public class MainTest {

    public static void main(String[] args) {
        // 线程操作资源类，保证资源类对象的唯一性，从而保证同步控制的正确性
        MyThread01 t = new MyThread01();
        new Thread(t).start();
        new Thread(t).start();
    }

}
